const s1 = Symbol('二哈');
const s2 = Symbol('二哈');
console.log(s1 == s2);
const secretKey = Symbol('secret');
console.log(secretKey,'/////');

// 多人协作中 Why Symbol
// 动态   不太安全？
// key string 类型 | Symbol 类型
const a = 'ecut'
const user = {
  [secretKey]: '111222',
  email: '1234@163.com',
  name: '小明',
  "a": 456,
  [a]:123
}
console.log(user.ecut,user[a]);
user.email = 'xiaoming@qq.com'